package com.bo.enity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 任务单
 * @Author: outes-boot
 * @Date:   2024-11-29
 * @Version: V1.0
 */
@Data
@TableName("task")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="task对象", description="任务单")
public class Task implements Serializable {
    private static final long serialVersionUID = 1L;

    /**id*/
    @ApiModelProperty(value = "taskid")
    @TableField(value = "TaskID")
    private Integer taskid;
    /**工程地址*/
    @ApiModelProperty(value = "工程地址")
    @TableField(value = "projectName")
    private String projectName;
    /**工程名称*/
    @ApiModelProperty(value = "工程名称")
    @TableField(value = "ProjectCmpy")
    private String ProjectCmpy;
    /**结构部位*/
    @ApiModelProperty(value = "结构部位")
    @TableField(value = "projectPart")
    private String projectPart;
    /**泵号*/
    @ApiModelProperty(value = "泵号")
    @TableField(value = "WorkMethod")
    private String WorkMethod;
    /**任务号*/
    @ApiModelProperty(value = "任务号")
    @TableField(value = "customerName")
    private String customerName;
    /**预定量*/
    @ApiModelProperty(value = "预定量")
    @TableField(value = "planCount")
    private String planCount;
    /**当前日期*/
    @ApiModelProperty(value = "当前日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @TableField(value = "planDate")
    private Date planDate;
    /** 产品号+配比号*/
    @ApiModelProperty(value = " 产品号+配比号")
    @TableField(value = "RecipeNo")
    private String recipeNo;
    /**产品号+任务号*/
    @ApiModelProperty(value = "产品号+任务号")
    @TableField(value = "taskName")
    private String taskName;
    /**默认写1*/
    @ApiModelProperty(value = "默认写1")
    @TableField(value = "stationId")
    private String stationId;
    /**默认写1*/
    @ApiModelProperty(value = "默认写1")
    @TableField(value = "ustate")
    private String ustate;
    /**默认写0*/
    @ApiModelProperty(value = "默认写0")
    @TableField(value = "orderId")
    private Integer orderId;
    /**默认写0*/
    @ApiModelProperty(value = "默认写0")
    @TableField(value = "itemId")
    private Integer itemId;
    /**默认写0*/
    @ApiModelProperty(value = "默认写0")
    @TableField(value = "employeeId")
    private Integer employeeId;
    /**默认写0*/
    @ApiModelProperty(value = "默认写0")
    private Integer dsl;
    /**默认写0*/
    @ApiModelProperty(value = "默认写0")
    private Integer zsl;
    /**默认写0*/
    @ApiModelProperty(value = "默认写0")
    private Integer xsl;
    /**默认写0*/
    @ApiModelProperty(value = "默认写0")
    private Integer sz;
    /**默认写0*/
    @ApiModelProperty(value = "默认写0")
    private Integer sz1;
    /**默认写0*/
    @ApiModelProperty(value = "默认写0")
    @TableField(value = "customerId")
    private Integer customerId;
}
